package com.epoch.client.kernel.utils;

import java.util.Map;

/**
 * ThreadLocal暂时用不到了
 * @author Seon
 * @date 2022/10/20 21:01
 */
public class BaseContextHolder {
    private static final ThreadLocal<Map<String, Object>> contextHolder = new ThreadLocal<>();

    public static Map<String, Object> getData() {
        return contextHolder.get();
    }
    public static void setData(Map<String, Object> data) {
        contextHolder.set(data);
    }
}
